package com.mallcloud.mall.app.service;

import com.alibaba.fastjson.JSONObject;
import com.mallcloud.mall.app.api.entity.dto.WxPay3RefundInfoDTO;
import com.mallcloud.mall.app.api.entity.dto.WxPay3UnifiedOrderInfoDTO;
import com.mallcloud.mall.app.api.entity.vo.WxPay3UnifiedOrderResponseVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 微信支付
 */
public interface AppWxPay3Service {

	//--退款---------------------------------------------------
	void refund(WxPay3RefundInfoDTO refundInfo);

	WxPay3UnifiedOrderResponseVO unifiedOrder(WxPay3UnifiedOrderInfoDTO unifiedOrderInfo);

	JSONObject payNotify(HttpServletRequest request, HttpServletResponse response);

	JSONObject refundNotify(HttpServletRequest request, HttpServletResponse response);

}

